package Mediator;

/**
 * @ProjectName: 23种设计模式
 * @Package: Mediator
 * @ClassName: ConcreteColleagueB
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/11 14:29
 * @Version: 1.0
 */
class ConcreteColleagueB extends Colleague{
    public ConcreteColleagueB(Mediator mediator) {
        super(mediator);
    }
    public void operation(){
        getMediator().notify(this);
    }
}